﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UserManagement.ascx.cs" Inherits="Admin_QuanLyNhanVien" %>
<link href="../Style/style.css" rel="stylesheet" type="text/css" />

<table border="0" cellpadding="0" cellspacing="0" style="width: 700px">
    <tr>
        <td align="left" style="width: 9px">
            <img src="Images/left1.png" /></td>
        <td id="textmenu" align="center" background="Images/midle1.png" style="width: 685px">
            Nhân viên</td>
        <td align="right" style="width: 9px">
            <img src="Images/right1.png" /></td>
    </tr>
    <tr>
        <td id="bordermenu" align="center" background="Images/bg-contend.jpg" colspan="3"
            style="width: 700px; height: 15px">
            <asp:Panel ID="Panel1" runat="server" Width="680px">
                <br />
                <asp:GridView ID="gvwUser" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                    BackColor="White" BorderColor="#c9c8c8" BorderStyle="Double" BorderWidth="3px"
                    CellPadding="4" DataKeyNames="UserID" GridLines="Horizontal" Width="680px" OnPageIndexChanging="gvwUser_PageIndexChanging">
                    <RowStyle BackColor="WhiteSmoke" ForeColor="#A62800" />
                    <Columns>
                        <asp:BoundField DataField="UserID" HeaderText="M&#227;" ReadOnly="True" />
                        <asp:BoundField DataField="UserName" HeaderText="T&#234;n đăng nhập" />
                        <asp:BoundField DataField="Birthday" HeaderText="Ng&#224;y sinh" />
                        <asp:BoundField DataField="Email" HeaderText="Email" />
                        <asp:BoundField DataField="Address" HeaderText="Địa chỉ" />
                        <asp:BoundField DataField="FoneNumber" HeaderText="Số DT" />
                        <asp:BoundField DataField="RuleID" HeaderText="Quyền" />
                    </Columns>
                    <FooterStyle BackColor="White" ForeColor="#333333" />
                    <PagerStyle BackColor="#F6CAB8" ForeColor="White" HorizontalAlign="Center" />
                    <EmptyDataTemplate>
                        &nbsp;
                    </EmptyDataTemplate>
                    <SelectedRowStyle BackColor="#F6CAB8" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#A62800" BorderColor="#c9c8c8" Font-Bold="True" ForeColor="White" />
                </asp:GridView>
                <br />
                <asp:Button ID="btnAdd" runat="server" BackColor="WhiteSmoke" BorderColor="#A62800"
                    Font-Bold="True" ForeColor="#A62800" OnClick="Button1_Click" Text="Thêm nhân viên mới" Width="146px" />
                <br />
                <br />
            </asp:Panel>
            <br />
        </td>
    </tr>
</table>

